$(document).ready(function(){
    /*
   $('#categories-to-display a').click(function(){
       var $get={};
       var get=window.location.search.substring(1).split("&");
       var token='';
       var category_id=0;

       for(var i=0; i<get.length; i++) {
           var getVar = get[i].split("=");
           $get[getVar[0]] = typeof(getVar[1])=="undefined" ? "" : getVar[1];
       }
       var route='index.php?route=catalog/category/getChildren';
       if(typeof $get.token!='undefined') route+='&token='+$get.token;
       if(typeof $get.category_id!='undefined') route+='&category_id='+$get.category_id;
       $.ajax({
           url: route,
           type: 'post',
           data: 'id='+this.name,
           dataType: 'json',
           success: function(json){
                console.log(json.result);
           }
       });
   });
   */
});